package com.cwh.springbootMybatis.service;

import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName OAService
 * @Description TODO
 * @Author zhengchenggong
 * @Date 2020/4/30 3:48 下午
 * @Version 1.0
 **/
public interface OAService {


    /**
     * @param request
     * @description: 返回token给财社系统
     * @return:
     */
    JSONObject getAccessToken(HttpServletRequest request);

    /**
     * @param request
     * @description: 接收财社待审批报文接口
     * @return:
     */
    JSONObject doBiz(HttpServletRequest request);

    /**
     * @param request
     * @description: oa审核接口
     * @return:
     */
    void doAudit(HttpServletRequest request);

    /**
     * @param
     * @description: 发送财政审核定时任务
     * @return:
     */
    void doAudit();

}
